<?php

/**
 * Sistema form.
 *
 * @package    form
 * @subpackage Sistema
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 6174 2007-11-27 06:22:40Z fabien $
 */
class SistemaForm extends PluginSistemaForm
{
	public function configure()
	{
		parent::configure();

		$this->widgetSchema['ds_sobre'] = new sfWidgetFormTextareaTinyMCE(
			array(
            	'width'  => 700,
                'height' => 400,
                'config' => 'theme_advanced_disable: "anchor,image,cleanup,help"',
            )
        );

		$this->widgetSchema['ds_servico'] = new sfWidgetFormTextareaTinyMCE(
			array(
            	'width'  => 700,
                'height' => 400,
                'config' => 'theme_advanced_disable: "anchor,image,cleanup,help"',
            )
        );

        $this->widgetSchema->setLabels(array(
        	'id_sistema'     => '#ID',
      		'id_sistema_pai' => 'Relação',
      		'nm_sistema'     => 'Nome do sistema',
      		'ds_sobre'       => 'Sobre',
      		'ds_servico'     => 'Serviço',
      		'ds_twitter'     => 'Link do twitter',
      		'ds_facebook'    => 'Link do Facebook',
      		'ds_youtube'     => 'Link do youtube',
      		'ds_flickr'      => 'Link do flickr',
      		'ds_orkut'       => 'Link do orkut'
        ));
	}
}